#!/usr/bin/env python3
# -*- coding: utf-8 -*-

__author__ = 'teffy'

'''
@filename __init__.py
@@created on 2018-01-14
@poject:python_flask_demo
@auther:teffy
'''

from flask import Blueprint
from app.models import Permission

main = Blueprint('main', __name__)

from . import views, errors

@main.app_context_processor
def inject_permissions():
    return dict(Permission=Permission)